
<template>
  <div>
    <div @click="handleSearch">企业查询</div>
  </div>
</template>

<script setup>
import axios from 'axios';

async function handleSearch() {
  try {
    const response = await axios.get('/wgSec/api/v1/company/list_company_by_partial_name?partital_name=&last_index=0&batch_size=10', {}, );
    console.log('res-------------info:', response)
  } catch (error) {
    console.error('Error fetching data:', error);
  }
}
</script>

<style scoped>
* {
  color: #000;
}
</style>
